package com.apexedu.portal.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 用户站点
 * Created by janabo on 2014-9-16.
 */
@Entity
@Table(name = "T_YHZD")
public class TYhzd implements Serializable{
    private String wid;
    private Integer groupid;//站点id
    private String groupname;//站点名
    private Integer yhlx;//用户类型
    private String yhlxmc;//用户类型名称

    @Id
    @Column(name = "WID")
    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @Basic
    @Column(name = "GROUPID")
    public Integer getGroupid() {
        return groupid;
    }

    public void setGroupid(Integer groupid) {
        this.groupid = groupid;
    }

    @Basic
    @Column(name = "GROUPNAME")
    public String getGroupname() {
        return groupname;
    }

    public void setGroupname(String groupname) {
        this.groupname = groupname;
    }

    @Basic
    @Column(name = "YHLX")
    public Integer getYhlx() {
        return yhlx;
    }

    public void setYhlx(Integer yhlx) {
        this.yhlx = yhlx;
    }

    @Basic
    @Column(name = "YHLXMC")
    public String getYhlxmc() {
        return yhlxmc;
    }

    public void setYhlxmc(String yhlxmc) {
        this.yhlxmc = yhlxmc;
    }

    @Override
    public String toString() {
        return "TYhzd{" +
                "wid='" + wid + '\'' +
                ", groupid=" + groupid +
                ", groupname='" + groupname + '\'' +
                ", yhlx=" + yhlx +
                ", yhlxmc='" + yhlxmc + '\'' +
                '}';
    }
}
